number = [20, 23, 52, 16, 27, 39, 2, 100, 79, 89, 75, 60, 60]
for i in range(0, len(number)):
    for j in range(0, i):
        if (number[i] <= number[j]):
            temp = number[i]
            for k in range(i, j, -1):
                number[k] = number[k - 1]
            number[j] = temp
    for data in number:
        print("{} ".format(data), end="")
    print("")